package mlz.d_interface.demo01;

public class DemoTest {
    public static void main(String[] args) {
        //接口不能new对象
        //InterfaceA a = new InterfaceA();

        //可以new 接口的实现类 -> 多态语法实现
        InterfaceA a = new InterfaceAImpl();
        a.m1();

    }
}
